package structures;

import pack.MyReader;

public class CardApprovalNumber extends TypeAbstract{
	
	public static int size = 8;
	
	public final String cardApprovalNumber; //IA5 String (8)
	
//	public CardApprovalNumber(byte[] value){
//		String tmp = new String("");
//		try {
//			tmp = new String(value, "ISO8859_1");
//		} catch (UnsupportedEncodingException e) {
//		}
//		cardApprovalNumber = tmp;
//	}

	public CardApprovalNumber(MyReader reader) {
		cardApprovalNumber = new String(reader.read(8));
	}
}
